import { NgModule } from "@angular/core";
import { Routes, RouterModule } from "@angular/router";
import { DisplayComponent } from "./view/display/display.component";

const routes: Routes = [
  {
    path: "",
    children: [
      { path: "display", component: DisplayComponent },
      { path: "**", redirectTo: "display" }
    ]
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class SettingRoutingModule {}
